import cv2
img=cv2.imread('yihun.jpg')
print("shape",img.shape)
rows=img.shape[0]
cols=img.shape[1]
channle=img.shape[2]
print('rows=%d,cols=%d,channle=%d'%(rows,cols,channle))
print('size=',img.size)
print('dtype=',img.dtype)